package com.stox.core.ui.swing.wrapper;

import javax.swing.Action;
import javax.swing.Icon;

import com.stox.core.ui.swing.util.SwingUtil;

public class JToggleButton extends javax.swing.JToggleButton {
	private static final long serialVersionUID = -2030009567745034116L;

	private void initialize(){
		SwingUtil.initializeWidget(this);
	}
	
	public JToggleButton() {
		initialize();
	}

	public JToggleButton(Action a) {
		super(a);
		initialize();
	}

	public JToggleButton(Icon icon, boolean selected) {
		super(icon, selected);
		initialize();
	}

	public JToggleButton(Icon icon) {
		super(icon);
		initialize();
	}

	public JToggleButton(String text, boolean selected) {
		super(text, selected);
		initialize();
	}

	public JToggleButton(String text, Icon icon, boolean selected) {
		super(text, icon, selected);
		initialize();
	}

	public JToggleButton(String text, Icon icon) {
		super(text, icon);
		initialize();
	}

	public JToggleButton(String text) {
		super(text);
		initialize();
	}

}
